import { request } from '@/utils/hsj/service/index'

export function getAllList(pageNum: number, pageSize: number){
  return request({
    url:'/ele/list'+'?pageNum='+pageNum+'&pageSize='+pageSize,
    method: 'get'
  })
}

export function add(data: any){
  return request({
    url:'/ele/add',
    method: 'post',
    data: data
  })
}
